# file:: $Name$
# author::  $Author$
# version:: $Revision$
# date:: $Date$
#
# This source code copyright (C) 2006 by Ralph M. Churchill
# All rights reserved.
#
# Released under the terms of the GNU General Public License
# See LICENSE file for additional information.

require 'engine/command'

class Look < Command
    def initialize(executor)
        super(executor,"look","look [at]",
              "Look at something or the current room.")
    end
    def execute(params)
        at = params.join ' '
        GameEngine.instance.do_action(Action.new(:attemptlook,self.executor,
                                                 {:target => at}))
    end
end
